package appapi.dao;

import appapi.Request.Basic.OperItemReq;
import appapi.entity.basic.OperatingItemEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/05/26 10:20
 */
@Mapper
public interface OperatingItemMapper extends BaseMapper<OperatingItemEntity> {
    /**
     * 获取列表
     *
     * @param req 条件
     * @return
     */
    List<OperatingItemEntity> selectList(@Param("req") OperItemReq req);

    /**
     * 获取列表
     *
     * @param operItemId 条件
     * @return
     */OperatingItemEntity selectDetail(@Param("operItemId") Long operItemId);
}
